package com.tvunetworks.device.extra.exception;

/**
 * @author andy
 */
public class ShareException extends RuntimeException {
    private String code;
    private String msg;
    private Object object;

    public ShareException(String code, String msg, Object object) {
        super(msg);
        this.code = code;
        this.msg = msg;
        this.object = object;
    }

    public ShareException(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return this.code;
    }

    public String getMsg() {
        return msg;
    }

    public Object getObject() {
        return object;
    }
}